package cn.rxyb.test;

import org.junit.Test;

import java.io.IOException;

/**
 * @author YJH
 * @version 1.0
 * @description
 * @date 2020/6/27 16:14
 */
public class FileUtils {

    @Test
    public void file() throws IOException {
//        File file = new File("F:\\download\\QQ\\957647791\\FileRecv\\cb01.log");
//        FileReader fileReader = new FileReader(file, Charset.forName("UTF-8"));
//        List<String> items = new ArrayList<>();
//        List<String> list = fileReader.readLines(items);
//        list.stream().forEach(System.out::println);
//
//        File file1 = new File("E:\\log\\srhy\\ss1.txt");
//        FileWrite fileWrite = new FileWrite(file1);
//        fileWrite.write("写入内容信息");
//        fileWrite.appendList(list);
    }
}
